package transparent;

import java.awt.Component;

import javax.swing.JScrollPane;

public class TransparentScrollPane extends JScrollPane {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2023870912675183515L;

	public TransparentScrollPane() {
		this.setOpaque(false);
		getViewport().setOpaque(false);
	}

	public TransparentScrollPane(Component view, int vsbPolicy, int hsbPolicy) {
		super(view, vsbPolicy, hsbPolicy);
		this.setOpaque(false);
		getViewport().setOpaque(false);
	}

	public TransparentScrollPane(Component view) {
		super(view);
		this.setOpaque(false);
		getViewport().setOpaque(false);
	}

	public TransparentScrollPane(int vsbPolicy, int hsbPolicy) {
		super(vsbPolicy, hsbPolicy);
		this.setOpaque(false);
		getViewport().setOpaque(false);
	}

	
}
